Minkowski sum
The Minkowski sum of two sets of position vectors and in Euclidean space is formed by adding each vector in to each vector in , i.e., the set
Analogously, the Minkowski difference is defined as
Properties
For Minkowski addition, the zero set, containing only the zero vector , is an identity element: For every subset , of a vector space
The empty set is important in Minkowski addition, because the empty set annihilates every other subset: for every subset, , of a vector space, its sum with the empty set is empty:
Minkowski addition behaves well with respect to the operation of taking convex hulls, as shown by the following proposition. For all non-empty subsets and of a real vector-space, the convex hull of their Minkowski sum is the Minkowski sum of their convex hulls,
This result holds more generally for each finite collection of non-empty sets
If is a convex set then also is a convex set; furthermore for every . Conversely, if this "distributive property" holds for all non-negative real numbers, , then the set is convex.
Minkowski sums act linearly on the perimeter of two-dimensional convex bodies: the perimeter of the sum equals the sum of perimeters.
Algorithms for computing Minkowski sums
Planar case
Two convex polygons in the plane
For two convex polygons and in the plane with and vertices, their Minkowski sum is a convex polygon with at most vertices and may be computed in time by a very simple procedure, which may be informally described as follows. Assume that the edges of a polygon are given and the direction, say, counterclockwise, along the polygon boundary. Then it is easily seen that these edges of the convex polygon are ordered by polar angle. Let us merge the ordered sequences of the directed edges from and into a single ordered sequence . Imagine that these edges are solid arrows which can be moved freely while keeping them parallel to their original direction. Assemble these arrows in the order of the sequence by attaching the tail of the next arrow to the head of the previous arrow. It turns out that the resulting polygonal chain will in fact be a convex polygon which is the Minkowski sum of and
Other
If one polygon is convex and another one is not, the complexity of their Minkowski sum is . If both of them are nonconvex, their Minkowski sum complexity is
Problems
- Minkowski Sums
- Kiddie Pool1
- Board game
- Fireworks2
- Bridge Building3
- Mogohu Ree Idol4
- TrianglePainting5
- Gears6
External links
- http://codeforces.com/blog/entry/18204?#comment-231204↩
- http://codeforces.com/blog/entry/44657?#comment-293094↩
- http://codeforces.com/blog/entry/17483?#comment-223283↩
- http://codeforces.com/blog/entry/2121?locale=en↩
- http://codeforces.com/blog/entry/18241?#comment-231500↩
- http://codeforces.com/blog/entry/15208↩

